﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Share.ascx.cs" Inherits="Controls_Publish_Share" %>
<div>
    <script type="text/javascript" language="javascript">
        var geturl_share = window.location.href;
        var url_share_facebook = "http://www.facebook.com/sharer.php?u=" + geturl_share;
        var url_share_twitter = "http://twitthis.com/twit?url" + geturl_share;
        var url_share_google = "http://www.google.com/bookmarks/mark?op=add&bkmk=" + geturl_share;
        var url_share_yahoo = "http://bookmarks.yahoo.com/toolbar/savebm?u=" + geturl_share;
        var url_share_myspace = "http://www.myspace.com/Modules/PostTo/Pages/?u=" + geturl_share;
        function share_(url_in) {
            window.open(url_in);
        }
    </script>
    <a title="Chia sẻ nội dung trên facebook tại đây" target="_blank" href="javascript:share_(url_share_facebook)">
        <asp:Image ID="Image12" runat="server" ImageUrl="~/Images/Icon/facebook_48.png" Height="18px" /></a>&nbsp;
    <a title="Chia sẻ nội dung trên twitter tại đây" target="_blank" href="javascript:share_(url_share_twitter)">
        <asp:Image ID="Image14" runat="server" ImageUrl="~/Images/Icon/twitter_48.png" Height="18px" /></a>&nbsp;
    <a title="Chia sẻ nội dung trên google tại đây" target="_blank" href="javascript:share_(url_share_google)">
        <asp:Image ID="Image13" runat="server" ImageUrl="~/Images/Icon/google_48.png" Height="18px" /></a>&nbsp;
    <a title="Chia sẻ nội dung trên yahoo tại đây" target="_blank" href="javascript:share_(url_share_yahoo)">
        <asp:Image ID="Image15" runat="server" ImageUrl="~/Images/Icon/yahoo.jpg" Height="18px" /></a>&nbsp;
    <a title="Chia sẻ nội dung trên myspace tại đây" target="_blank" href="javascript:share_(url_share_myspace)">
        <asp:Image ID="Image16" runat="server" ImageUrl="~/Images/Icon/myspace_48.png" Height="18px" /></a>
</div>
